/*
 * Copyright 2003 ISS.
 * The contents contained in this document may not be reproduced in any
 * form or by any means, without the written permission of ISS, other
 * than for the purpose for which it has been supplied.
 *
 */
package sg.edu.nus.iss.vmcs.maintenance;

import java.awt.Button;

/**
 * This control object monitors the Exit Button and performs actions in response to the
 * button being pressed.
 * @version 3.0 5/07/2003
 * @author Olivo Miotto, Pang Ping Li
 */
public class ExitButton extends Button implements ButtonCommand {

	/**
	 * This constructor creates an instance of ExitButton object.
	 */
	public ExitButton(String label) {
		super(label);
	}

	public void execute(MaintenanceController mc) {
		mc.logoutMaintainer();
	}
	
}//End of class ExitButton